package com.topvision.constants;

public class TopVisionWebConstants {
    /**
     * 删除状态
     */
    public static final boolean DELETED_FALSE = false;
    public static final boolean DELETED_TRUE = true;
    public static final Byte DELETED_INT_ZERO = 0;
    public static final Byte DELETED_INT_ONE = 1;


    public static final String API = "topvision-api";

//    //阿里云
//    public static final String SERVER_IP = "topvision-cv.com";
//    //断口
//    public static final String PORT = "";
//    public static final String SERVER_USERNAME = "root";
//    public static final String SERVER_PASSWORD = "!Topvision@021201802";
//    public static final String SERVER_PORT = "22";


    //华为云
    public static final String SERVER_IP = "122.112.226.39";
    //断口
    public static final String PORT = ":8082";
    public static final String SERVER_USERNAME = "root";
    public static final String SERVER_PASSWORD = "!Topvision@021201802";
    public static final String SERVER_PORT = "3389";


    //    测试服务器
//    public static final String SERVER_IP = "192.168.2.70";
//    //断口
//    public static final String PORT = ":8082";
//    public static final String SERVER_USERNAME = "root";
//    public static final String SERVER_PASSWORD = "6654321";
//    public static final String SERVER_PORT = "22";
//    public static final String API = "topvision-api";


    //ZW Test 阿里云
//    public static final String SERVER_IP = "42.121.120.234";
//    //断口
//    public static final String PORT = ":8082";
//    public static final String SERVER_USERNAME = "root";
//    public static final String SERVER_PASSWORD = "Zen@test";
//    public static final String SERVER_PORT = "22";


    //aws
//    public static final String SERVER_IP = "18.231.37.74";
//    //断口
//    public static final String PORT = ":8082";
//    public static final String SERVER_USERNAME = "root";
//    public static final String SERVER_PASSWORD = "";
//    public static final String SERVER_PORT = "22";


    // 备份的目录
    public static final String SERVER_DIR_BACKUP_PATH = "http://" + SERVER_IP + PORT + "/topvisionupload/backup/";
    public static final String SERVER_DIR_BUREAU_PATH = "http://" + SERVER_IP + "/topvisionupload/bureau/";
    public static final String SERVER_DIR_VIDEOSTREAM_PATH = "http://" + SERVER_IP + PORT + "/" + API + "/topvisionupload/videostream/";
    public static final String SERVER_DIR_VIDEO_PATH = "http://" + SERVER_IP + PORT + "/" + API + "/topvisionupload/video/";
    public static final Byte DELETED_BYTE_ZERO = 0;
    public static final Byte DELETED_BYTE_ONE = 1;

    // 鼎視公司的id
    public static final int TOPVISION_COMPANYID = 1;
    public static final int TOPSMART_COMPANYID = 2;
    public static final int TOPTRUE_COMPANYID = 3;
    public static final String TOPVISION_COMPANY = "company";
    public static final String DEVICE_BRAND_TOPVISION = "TopVision";
    public static final String DEVICE_BRAND_TOPSMART = "TopSmart";
    public static final String DEVICE_BRAND_TONGYING = "TopTrue";

    // 管理人类别
    public static final int USER_TYPE_SUPERMANAGER = 1;
    // TopSmart类别
    public static final int USER_TYPE_TOPSMART_SUPERMANAGER = 4;


    public static final int VIDEO_STREAM_LOGIN = 1;
    public static final int VIDEO_STREAM_LOGIN_OUT = 2;
}
